package com.itheima.service.mongo;

import com.itheima.domain.mongo.Video;
import com.itheima.vo.PageBeanVo;
import org.bson.types.ObjectId;

public interface VideoService {
    //视频列表
    PageBeanVo findRecommendVideoByPage(Long userId,Integer pageNum,Integer pageSize);

    //保存视频
    void save(Video video);


    /**
     * 查找视频
     * @param videoId
     * @return
     */
    Video findById(ObjectId videoId);
}
